package com.zenchn.dao;

import com.zenchn.generic.GenericDao;
import com.zenchn.model.TMiCustomerContacts;
import com.zenchn.model.TMiCustomerContactsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TMiCustomerContactsMapper extends GenericDao<TMiCustomerContacts,String,TMiCustomerContactsExample> {
    long countByExample(TMiCustomerContactsExample example);

    int deleteByExample(TMiCustomerContactsExample example);

    int deleteByPrimaryKey(String contactsId);

    int insert(TMiCustomerContacts record);

    int insertSelective(TMiCustomerContacts record);

    List<TMiCustomerContacts> selectByExample(TMiCustomerContactsExample example);

    TMiCustomerContacts selectByPrimaryKey(String contactsId);

    int updateByExampleSelective(@Param("record") TMiCustomerContacts record, @Param("example") TMiCustomerContactsExample example);

    int updateByExample(@Param("record") TMiCustomerContacts record, @Param("example") TMiCustomerContactsExample example);

    int updateByPrimaryKeySelective(TMiCustomerContacts record);

    int updateByPrimaryKey(TMiCustomerContacts record);
}